package binary;

public class Demo09 {
    public static void main(String[] args) {
        /*
         *左移位运算
         */
        int n = 0x20ef3590;//00100000 11101111 00110101 10010000
        int m = n << 1;      //0100000 11101111 00110101 100100000
        int k = n << 2;      //100000 11101111 00110101 1001000000
        int g = n << 8;      //11101111 00110101 10010000 00000000
        System.out.println(Integer.toBinaryString(n));
        System.out.println(Integer.toBinaryString(m));
        System.out.println(Integer.toBinaryString(k));
        System.out.println(Integer.toBinaryString(g));


    }
}
